package com.fatesgo.mapper;

import org.apache.ibatis.annotations.Param;
import com.fatesgo.pojo.Teacher;
import java.util.List;

public interface TeacherMapper {

    Teacher getTeacherInfoById(@Param("id") int id);

    int updateTeacherInfo(Teacher teacher);

    int createTeacher(Teacher teacher);

    int deleteTeacher(@Param("id") int id);

    List<Teacher> selectAll(Teacher teacher);
}
